package cc.ilzy.mall.user.service.impl;

import cc.ilzy.mall.constants.CommonConstants;

public interface INotifyService {
    /**
     * 发送验证码
     * @param sendCodeEnum
     * @param to
     */
    void sendCode(CommonConstants.SendCodeEnum sendCodeEnum, String to);


    /**
     * 校验验证码
     * @param sendCodeEnum
     * @param to
     * @param code
     */
    void checkCode(CommonConstants.SendCodeEnum sendCodeEnum, String to, String code);
}
